<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>消息详情</title>
    
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">    
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="fly,layui,前端社区">
    <meta name="description" content="Fly社区是模块化前端UI框架Layui的官网社区，致力于为web开发提供强劲动力">
    <link rel="stylesheet" href="../res/layui/css/layui.css">
    <link rel="stylesheet" href="../res/css/global.css">
    <script src="../res/layui/layui.js"></script>
  </head>
  
  <body>
    <%-- <div class="header">
      <div class="main">
        <a class="logo" href="../post/index.html" title="网博">网博社区</a>
        <div class="nav">
          <a class="nav-this" href="../post/index.html">
            <i class="iconfont icon-wenda"></i>问答
          </a>
        </div>
  
        <div class="nav-user">
          <!-- 登入后的状态 -->
  
          <a class="avatar" href="home.html">
            <img src="../res/images/avatar/11.jpg">
            <cite>贤心</cite>
            <i>VIP</i>
          </a>
          <div class="nav">
            <a href="set.html"><i class="iconfont icon-shezhi"></i>设置</a>
            <a href="login.html"><i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>退了</a>
          </div>
        </div>
      </div>
    </div> --%>
  
  
    <div class="main fly-user-main layui-clear">
      <ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
        <li class="layui-nav-item"><a href="home.html"> <i class="layui-icon">&#xe609;</i> 我的主页 </a></li>
        <li class="layui-nav-item "><a href="index.html"> <i class="layui-icon">&#xe612;</i> 用户中心 </a></li>
        <li class="layui-nav-item layui-this"><a href="set.html"> <i class="layui-icon">&#xe620;</i> 基本设置 </a></li>
        <li class="layui-nav-item"><a href="message.html"> <i class="layui-icon">&#xe611;</i> 我的消息 </a></li>
        <li class="layui-nav-item "><a href="vip.html"> <i class="layui-icon">&#xe61a;</i> 账户充值/会员 </a></li>
        <li class="layui-nav-item"><a href="report.html"> <i class="layui-icon">&#xe61a;</i> 审核举报 </a></li>
      </ul>
  
      <div class="site-tree-mobile layui-hide">
        <i class="layui-icon">&#xe602;</i>
      </div>
      <div class="site-mobile-shade"></div>
  
  
  
      <div class="fly-panel fly-panel-user" pad20>
        <div class="layui-tab layui-tab-brief" lay-filter="user">
          <input type="hidden" id="userId" value="${user.id}" />
  
          <div class="layui-form-item">
            <label class="layui-form-label">消息名称</label>
            <div class="layui-input-inline">
              ${msgDetail.msgName }
            </div>
          </div>
  
          <div class="layui-form-item">
            <label class="layui-form-label">消息内容</label>
            <div class="layui-input-inline">
              ${msgDetail.msgContent }
            </div>
          </div>
  
          <div class="layui-form-item">
            <label class="layui-form-label">消息时间</label>
            <div class="layui-input-inline">
              <fmt:formatDate value="${msgDetail.msgCreateTime }" pattern="yyyy-MM-dd HH:mm" />
            </div>
          </div>
  
          <div class="layui-form-item">
            <label class="layui-form-label">消息状态</label>
            <div class="layui-input-inline">
              ${msgDetail.msgStatus }
            </div>
          </div>
          <a href="" class="layui-btn layui-btn-small layui-btn-danger fly-delete">删除</a>
          <a class="layui-btn layui-btn-small " href="">返回上一页</a>
  
        </div>
      </div>
  
    </div>
    <!-- <div class="footer">
      <p><a href="#">网博社区</a> 2017 &copy; <a href="#">njwangbo.com</a></p>
      <p>
        <a href="#" target="_blank">产品授权</a>
        <a href="#" target="_blank">网博社区</a>
        <a href="#" target="_blank">微信公众号</a>
      </p>
    </div> -->
  
    <script>
      layui.use('element', function () {
        var element = layui.element();
      });
    </script>
    <script>

      layui.cache.page = '';
      layui.cache.user = {
        username: '游客'
        , uid: -1
        , avatar: '../res/images/avatar/00.jpg'
        , experience: 83
        , sex: '男'
      };
      layui.config({
        version: "2.0.0"
        , base: '../res/mods/'
      }).extend({
        fly: 'index'
      }).use('fly');
    </script>
  </body>
  
</html>